package com.devunion.reader.client.command;

import com.devunion.reader.client.core.AsyncCommand;
import com.devunion.reader.client.exception.UserAlreadyExistException;

/**
 * @author Aliaksandr Tsimashenka 16.03.2010 : 1:43:32
 */
public class RegistrationCmd extends AsyncCommand<Void> {
    public void attempt() {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    public void oncapture(Void value) {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public void onFailure(Throwable error) {
        try {
            super.onFailure(error);
        } catch (UserAlreadyExistException e) {

        }
    }
}
